package com.hngy.test.demoproject.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hngy.test.demoproject.entity.pOrder;
import com.hngy.test.demoproject.mapper.OrderMapper;
import com.hngy.test.demoproject.service.OrderService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, pOrder> implements OrderService {

    @Override
    public List<pOrder> selectOneQue() {
        return baseMapper.selectOneQue();
    }

    @Override
    public List<pOrder> selecyLastOrder() {
        return baseMapper.selectLastOrder();
    }

}
